//
//  MainTableViewCell.m
//  Shanghai Cuisine
//
//  Created by iOS Two on 14-9-10.
//  Copyright (c) 2014年 iOS Two. All rights reserved.
//

#import "MainTableViewCell.h"

@implementation MainTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _name1 = [[UILabel alloc]initWithFrame:CGRectMake(7, 94, 98, 26)];
        _name1.font = [UIFont systemFontOfSize:15];
        _name1.textAlignment = NSTextAlignmentCenter;
        _name1.backgroundColor = [UIColor whiteColor];
        [self addSubview:_name1];
        
        _image1 = [[UIImageView alloc]initWithFrame:CGRectMake(7, 7, 98, 87)];
        _image1.userInteractionEnabled = YES;
        [self addSubview:_image1];
        
        _name2 = [[UILabel alloc]initWithFrame:CGRectMake(111, 94, 98, 26)];
        _name2.font = [UIFont systemFontOfSize:15];
        _name2.textAlignment = NSTextAlignmentCenter;
        _name2.backgroundColor = [UIColor whiteColor];
        [self addSubview:_name2];
        
        _image2 = [[UIImageView alloc]initWithFrame:CGRectMake(111, 7, 98, 87)];
        _image2.userInteractionEnabled = YES;
        [self addSubview:_image2];
        
        _name3 = [[UILabel alloc]initWithFrame:CGRectMake(215, 94, 98, 26)];
        _name3.font = [UIFont systemFontOfSize:15];
        _name3.textAlignment = NSTextAlignmentCenter;
        _name3.backgroundColor = [UIColor whiteColor];
        [self addSubview:_name3];
        
        _image3 = [[UIImageView alloc]initWithFrame:CGRectMake(215, 7, 98, 87)];
        _image3.userInteractionEnabled = YES;
        [self addSubview:_image3];
        // Initialization code
    }
    return self;
}
- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
